package com.lagou.sqlSession;

import java.util.List;

public interface Sqlsession {

    <T> List<T> selectList(String statementId,Object... params) throws Exception;

    <E> E selectOne(String statementId,Object... params) throws Exception;

    void insert(String statementId, Object... params) throws Exception;

    void updateById(String statementId,Object... params) throws Exception;

    void deleteById(String statementId,Object... params) throws Exception;

    <T> T getMapper(Class<?> mapperClass);

}
